﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Agoodsadd.aspx.cs" Inherits="pufflesweb.Agoodsadd" %>
<%@ import Namespace="PBLL" %>
<%@ import Namespace="PDAL" %>
<%@ import Namespace="PModel" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title>商品管理</title>
    
</head>
<body>



    <form id="form1" runat="server" >
        <div >
            <br />
            <table  width="800"  border="1" aria-readonly="True">

                <%--<tr><td>商品ID</td><td ><asp:TextBox ID="TextBox1" runat="server"></asp:TextBox></td></tr>--%>
                <tr><td>商品名称</td><td ><asp:TextBox ID="gname" runat="server"></asp:TextBox></td></tr>
                <tr><td>商品价格</td><td><asp:TextBox ID="gprice" runat="server"></asp:TextBox></td></tr>
                <tr><td>商品标题</td><td><asp:TextBox ID="gtitle" runat="server" Width="400px"></asp:TextBox></td></tr>
                <tr><td >商品介绍</td><td ><asp:TextBox ID="gtext" runat="server" Height="100px" TextMode="MultiLine" Width="400px"></asp:TextBox></td></tr>
                <tr><td>商品图片</td><td><asp:FileUpload ID="img" runat="server" /></td></tr>
                <tr><td>商品数量</td><td> <asp:TextBox ID="gnumber" runat="server"></asp:TextBox></td></tr>
                <tr><td>发货地址</td><td><asp:TextBox ID="gaddress" runat="server"></asp:TextBox></td></tr>
                <tr><td>商品类型</td><td><asp:DropDownList ID="DropDownList1" runat="server">
                    <asp:ListItem Value="0">食物类</asp:ListItem>
                    <asp:ListItem Value="1">服饰类</asp:ListItem>
                    <asp:ListItem Value="2">玩具类</asp:ListItem>
                    <asp:ListItem Value="3">日常用品类</asp:ListItem>
                    <asp:ListItem Value="4">洗漱用品类</asp:ListItem>
                    <asp:ListItem Value="5">其他</asp:ListItem>
                    </asp:DropDownList></td></tr>
                <tr><td>商品状态</td><td><asp:DropDownList ID="DropDownList2" runat="server">
                    <asp:ListItem Value="0">上架</asp:ListItem>
                    <asp:ListItem Value="1">下架</asp:ListItem>
                    </asp:DropDownList></td></tr>
                <tr><td></td><td><asp:Button ID="Button1" runat="server" Text="发布"  OnClick="Button1_Click" /></td></tr>

            </table>
        </div>
    </form>
</body>
</html>
